{extend name="homePage/userPage" /}
{block name="css"}
{/block}
{block name="main"}
    <div style="border:1px solid #ccc">
            <form class="form-horizontal" method="post" action="{:url('index/Sys/onenew')}"  >
            <p style="font-size:19px">单人信件:</p>

                <input type="hidden" name="sendid" value="{$user.id}">
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">收件人</label>
                    <div class="col-md-6 col-sm-10">
                        <select name="getid" id=""  class="chosen-select form-control">
                            {volist name="userlist" id="vo"}
                            <option value="{$vo.id}">{$vo.name}</option>
                            {/volist}
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">标题</label>
                    <div class="col-md-6 col-sm-10">
                      <input type="text" class="form-control name" id="exampleInputAccount4" name="newsname" >
                    </div>
                </div>
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">内容</label>
                    <div class="col-md-6 col-sm-10">
                        <textarea name="content"  class="form-control" id="" cols="30" rows="10"></textarea>
                    </div>
                </div>
                <div class="form-group">
                    <label for="exampleInputAccount4" class="col-sm-2">确认密码</label>
                    <div class="col-md-6 col-sm-10">
                      <input type="submit" class="btn btn-info" id="exampleInputAccount4">
                      <input type="reset" class="btn btn-warning" id="exampleInputAccount4">
                    </div>
                </div>

                </form>

    </div>

{/block}
{block name="block"}
{/block}

